package com.mtr.databoard.application.components.dto;

import com.mtr.databoard.application.EntityDto;
import com.mtr.databoard.domain.components.Size;
import com.mtr.databoard.domain.components.ViewResource;

import java.util.Date;
import java.util.List;
import java.util.UUID;

public class ViewComponentDto extends EntityDto<UUID> {
    private ViewResource cover;
    private String name;
    private String code;
    private String description;
    private Size size;

    public ViewComponentDto(UUID id, ViewResource cover, String name, String code, String description, Size size, Date updateTime,String htmlbody) {
        this.setId(id);
        this.cover = cover;
        this.name = name;
        this.code = code;
        this.description = description;
        this.size = size;
        this.updateTime = updateTime;
        this.htmlbody = htmlbody;
    }

    private String htmlbody;
    public String getHtmlbody() {
        return htmlbody;
    }

    public void setHtmlbody(String htmlbody) {
        this.htmlbody = htmlbody;
    }
    public ViewResource getCover() {
        return cover;
    }

    public void setCover(ViewResource cover) {
        this.cover = cover;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Size getSize() {
        return size;
    }

    public void setSize(Size size) {
        this.size = size;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    private Date updateTime;

}
